cmake_minimum_required (VERSION 3.10)
project(Test VERSION 0.1.0 LANGUAGES C CXX)

set(OPENSSL_ROOT_DIR "/usr/local/ssl")
find_package(OpenSSL REQUIRED)

include_directories("/usr/local/ssl/include")
link_directories("/usr/local/ssl/lib64")

# add_executable(myaes myaes.c)
# target_link_libraries(myaes libssl.so libcrypto.so)

# add_executable(test2 test2.c)
# target_link_libraries(test2 libssl.so libcrypto.so)

add_executable(test3 test3.cpp)
target_link_libraries(test3 libssl.so libcrypto.so)

# add_executable(aes_example aes_example.cpp)
# target_link_libraries(aes_example libssl.so libcrypto.so)
